package de.pixelate.flixelprimer
{
	import org.flixel.FlxSprite;
	
	public class Alien3 extends FlxSprite
	{
		[Embed(source="../../../../assets/png/Aliados.png")]
		private var ImgAliados:Class;
		
		public function Alien3(x: Number, y: Number):void
		{
			super(x, y, ImgAliados);
			velocity.x = -350;
		}
		
		override public function update():void
		{
			velocity.y = Math.cos(x / 40) * 40;
			super.update();
		}
	}
}